﻿@{
    ViewBag.Title = "Mérési képek";
    Layout = "~/Views/Shared/_Layout.cshtml";
}
@using ELTE.SEM.Data.ViewModels

@model UserFoldersViewModel
<div id="folder-access-container">
    @if (Model != null)
    {
        var hasAccess = Model.FolderAccess.Where(fa => fa.HasAccess).ToList();
        foreach (var item in hasAccess)
        {
        <div class="folder-access">
            <a href="/SEMLog/ScanImages/@item.Folder.Id">
                <div class="folder-access-name">
                    <span>@item.Folder.FolderName</span>
                </div>
                <div class="folder-access-fullpath">
                    <span>@item.Folder.FullPath</span>
                </div>
            </a>
        </div> 
        }
    }
</div>
